package com.ken.user.dto;

public class sendMessageDto {
    private String phone;//要发送验证码的手机号
    private String type;//要发送短信的类型：login 登录身份验证,register 注册验证码

    public sendMessageDto() {
    }

    public sendMessageDto(String phone, String type) {
        this.phone = phone;
        this.type = type;
    }

    /**
     * 获取
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * 设置
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * 获取
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * 设置
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    public String toString() {
        return "sendMessageDto{phone = " + phone + ", type = " + type + "}";
    }
}
